import { queryOrderPage } from '../services';

const initState = {
  orderList: [],
};

export default {
  namespace: 'order',

  state: initState,

  effects: {
    *getInitData({ payload }, { call, put }) {
      const response = yield call(queryOrderPage, payload);

      yield put({
        type: 'update',
        payload: {},
      });
    },
  },

  reducers: {
    save(state, { payload }) {},
  },
};
